package com.thingsgrid.application.service.impl;

import com.thingsgrid.application.entity.AppApi;
import com.thingsgrid.application.vo.AppApiVO;
import com.thingsgrid.application.mapper.AppApiMapper;
import com.thingsgrid.application.service.IAppApiService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 *  服务实现类
 *
 * @author BladeX
 * @since 2019-08-13
 */
@Service
public class AppApiServiceImpl extends ServiceImpl<AppApiMapper, AppApi> implements IAppApiService {

	@Override
	public IPage<AppApiVO> selectAppApiPage(IPage<AppApiVO> page, AppApiVO appApi) {
		return page.setRecords(baseMapper.selectAppApiPage(page, appApi));
	}

}
